package com.qeegoo.b2bautozityp.moudle.login.view;

import com.qeegoo.b2bautozityp.R;
import com.qeegoo.b2bautozityp.databinding.ActivityRegisterSuccessBinding;
import com.qeegoo.b2bautozityp.injector.component.DaggerRegisterSuccessComponent;
import com.qeegoo.b2bautozityp.moudle.base.AppBar;
import com.qeegoo.b2bautozityp.moudle.base.BaseActivity;
import com.qeegoo.b2bautozityp.moudle.login.viewmodel.RegisterSuccessViewModel;

import javax.inject.Inject;

/**
 * Created by lining on 2017/9/28.
 */

public class RegisterSuccessActivity extends BaseActivity<ActivityRegisterSuccessBinding> {

    @Inject
    RegisterSuccessViewModel mViewModel;
    @Override
    protected int attachLayoutRes() {
        return R.layout.activity_register_success;
    }

    @Override
    protected void initInjector() {
        DaggerRegisterSuccessComponent.builder().appComponent(getAppComponent()).build().inject(this);
    }

    @Override
    protected void initViews() {

        initToolBar(mBinding.layoutToolbar, new AppBar("提交成功", true));
        mBinding.setViewModel(mViewModel);
    }
}
